package com.ly.cloud.service;

import java.util.UUID;

import javax.annotation.Resource;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.test.context.junit4.SpringRunner;

import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.plugins.Page;
import com.ly.cloud.dto.UserDto;
import com.ly.cloud.service.UserService;
import com.ly.cloud.vo.UserVo;

@RunWith(SpringRunner.class)
@SpringBootTest(webEnvironment=WebEnvironment.RANDOM_PORT)
public class UserServiceTestCase {

	private static Logger logger = LoggerFactory.getLogger(UserServiceTestCase.class);
	
	@Resource
	private UserService serService;
	
	@Test
	public void selectPage() {
		/*logger.debug("编写测试代码");
		Page<UserVo> page = serService.selectPage(new Page<UserVo>(1, 15), new UserDto());
		logger.debug("结果："+JSON.toJSONString(page));*/
	}
	
}
  